<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-withdrawalRecord-edit">
        <input id="id" name="id" th:value="${withdrawalRecord.id}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">订单号：</label>
            <div class="col-sm-8">
                <input id="usId" disabled="disabled" name="usId" th:value="${withdrawalRecord.wrOrderId}"
                       class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">支付宝：</label>
            <div class="col-sm-8">
                <input id="wrPhone" disabled="disabled" name="wrPhone" th:value="${withdrawalRecord.wrPhone}"
                       class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">金额：</label>
            <div class="col-sm-8">
                <input id="wrMoney" disabled="disabled" name="wrMoney" th:value="${withdrawalRecord.wrMoney}/10000+'元'"
                       class="form-control"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">审核状态：</label>
            <div style="margin-left: 20px;" class="col-sm-8">
                <input style="display: none" id="wrStatus" name="wrStatus" th:value="${withdrawalRecord.wrStatus}"
                       class="form-control"
                       type="text">
                <label class="radio-inline i-checks">
                    <div class="form-check">
                        <input type="radio" class="form-check-input" id="radio2" name="status" value="3">拒绝
                        <label class="form-check-label " for="radio2"></label>
                    </div>
                </label>
                <label class="radio-inline i-checks">
                    <div class="form-check">
                        <input type="radio" class="form-check-input" id="radio2" name="status" value="1">审核中
                        <label class="form-check-label" for="radio2"></label>
                    </div>
                </label>
                <label class="radio-inline i-checks">
                    <div class="form-check">
                        <input type="radio" class="form-check-input" id="radio2" name="status" value="2">通过
                        <label class="form-check-label" for="radio2"></label>
                    </div>
                </label>
            </div>
        </div>

        <!--        <div class="form-group">-->
        <!--            <label class="col-sm-3 control-label">备注：</label>-->
        <!--            <div class="col-sm-8">-->
        <!--                <input id="wrMark" name="wrMark" th:value="${withdrawalRecord.wrMark}" class="form-control" type="text">-->
        <!--            </div>-->
        <!--        </div>-->
        <div class="form-group">
            <label class="col-sm-3 control-label">拒绝理由：</label>
            <div class="col-sm-8">
                <select class="form-control input-s-sm inline " name="wrMark" id="wrMark"
                        th:with="type=${@dictService.selectDictData('withdrawal_refuse')}">
                    <option value="">请选择</option>
                    <option th:field="*{withdrawalRecord.wrMark}"  th:each="e : ${type}" th:text="${e['dictLabel']}" th:value="${e['dictValue']}"></option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="form-control-static col-sm-offset-9">
                <button type="submit" class="btn btn-primary">提交</button>
                <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script src="/reasahi/manage/withdrawalRecord/edit.js" th:src="@{/reasahi/manage/withdrawalRecord/edit.js}">
</script>
</body>
</html>
